package com.bruce.springcloud.provider.payment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 付款流水实体类
 */
@Data
@Builder
@TableName("payment")
@NoArgsConstructor
@AllArgsConstructor
public class PaymentEntity {

    /**
     * 主键ID.
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id  ;

    /**
     * 序列号.
     */
    @TableId(value = "serial", type = IdType.AUTO)
    private String serial ;
}
